﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace CP_SchoolForChildren_v0._1.Models.RelatedModel
{
    public class ArticleModel
    {
        public int ArticleID { get; set; }
        public int CategoryID { get; set; }
        public int UserID { get; set; }

        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string ArticleContent { get; set; }
        
        public string Title { get; set; }
        public System.DateTime CreatedTime { get; set; }
        public string UserName { get; set; }
        public string CategoryName { get; set; }
    }
}